package com.park.dao;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.park.model.Feeoperatechargerecord;

public interface FeeoperatechargerecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Feeoperatechargerecord record);

    int insertSelective(Feeoperatechargerecord record);

    Feeoperatechargerecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Feeoperatechargerecord record);

    int updateByPrimaryKey(Feeoperatechargerecord record);
    
    List<Map<String, Object>> getByOperatorAndDate(@Param("operatorId")int operatorId,@Param("startTime")Date startTime,@Param("endTime")Date endTime);
    
    List<Map<String, Object>> getbyUserAndDate(@Param("userId")int userId,@Param("startTime")Date startTime,@Param("endTime")Date endTime);
}